
public class Main {
    public static void main(String[] args) {
        byte b = 12;
        int y = 24;
        float z =0.4f;
        double a = 0.4;
        System.out.println("b= "+b);
        System.out.println("y= "+y);
        System.out.printf("z= % -30.12f\n",z);
        System.out.printf("a= % -30.12f\n",a);
        b =(byte)y;
        z =(float)a;
        System.out.printf("b = %d\n",b);
        System.out.printf("z = % -30.12f ",z);

    }
}